package com.titaniume.java2;

/**
 *@program: java8
 *@description:
 *@author: renfei.huang
 *@create: 2021-11-01 11:34
 */
public class TestDefaultInterface {

    public static void main(String[] args) {

        SubClass sc = new SubClass();
        //类优选原则
        System.out.println(sc.getName());
        MyInterface.show();

    }
}
